Hundreds of thousands of teachers are among workers who walked off their jobs to demand better pay