One of Africa’s most stable democracies is quietly drifting into authoritarian rule