BEIRUT — In a makeshift gym in the Burj al-Barajneh refugee camp, the participants in this martial arts class are unlearning much of what they have been taught about how girls and women should behave.