University students frolic on a beach in Senegal’s capital, Dakar, in March. By 2050, Africa will account for one-quarter of the world’s population and one-third of its young people, aged 15 to 24 — a “youthquake,” as some experts call it, with implications that are immense yet uncertain.