Teacher who was forced to quit over swimsuit photos wins her job back after viral selfie protest