Politicians on both the left and the right have sought to change or limit what teachers can do inside classrooms. Teachers often ignore them.