The world must recognise Afghanistan’s ‘gender apartheid’, Malala says during Nelson Mandela memorial lecture