Uganda’s calculated gamble over its anti-gay law is proof that the West needs to reassess how it deals with 21st century Africa.