For four decades, Yoweri Museveni has created a simulacrum of stability in Uganda. But a reckoning awaits