Protected class only applies if what an employer does is based upon the class.  In this case it may have been a woman doing something stupid, but it was her actions, not her gender, that got her fired.  Chasing down the Presidential motorcade to give a vulgar sign to the President will get you fired from a lot of companies.