The majority of teachers approved a strike after the school district failed to meet the association’s demands for higher pay.