With Democratic Wins, Charter Schools Face a Backlash in N.Y. and Other States