Malala Yousafzai was speaking at a global summit on girls’ education in Muslim nations hosted by Pakistan and attended by representatives from dozens of countries