A private school on Manhattan’s Upper West Side is planning to purchase a 165-acre farm in the Catskills that was previously owned by its bankrupt peer.