As the state’s labor unions and lawmakers hash out their differences, here’s a look at teacher pay, the legal dilemma teachers face in walking out — and why it all matters