Moreover, at a time of huge budget deficits and of Republican dominance in many states, including states like Ohio and Wisconsin where unions once had swaggering power, the pendulum has swung toward the taxpayer instead of the government workers paid by the taxpayer. And after five decades in which public-sector unions have grown far stronger in membership and political power, Mr. Kasich and Gov. Scott Walker of Wisconsin seem intent on checking their rise.