ALBANY — When state leaders rallied this month behind a proposal to tax luxury second homes in New York City, it seemed to encapsulate the goals of the Capitol’s new Democratic leadership: The bill would simultaneously help pay for public transit, vex real estate developers and target the überwealthy.The sudden…