Just four days after being dismissed as Prime Minister, Ousmane Sonko was elected president of Senegal's National Assembly, becoming the second-highest figure in the state and opening a period of deep political uncertainty.