With GOP losing ground in state, NY party leader resigns