The lawsuit lays bare the behind-the-scenes drama facing real estate projects beset by higher financing costs.