Malala Yousafzai likens Taliban’s treatment of women to apartheid in Mandela lecture