Uganda's main opposition leader Bobi Wine, who has emerged as the most formidable opponent of veteran President Yoweri Museveni, was shot in the leg by security agents in a northern suburb of the capital Kampala on Tuesday.