New York’s lavish pay, pension and health care plans pushed for by powerful teachers’ unions helped ramp up spending on school districts to a staggering $89 billion.