A Ugandan author once dismissed for being “too African” has won a major literary prize