There is a huge difference between voting on compensation for public employees, and punitive taxation on private employees.
Plus the vast majority wouldn't vote for teacher pay cuts. There are a few exceptions, but look at the trends for education spending. America spends more per capita on education than most developed countries.