Ugandan opposition figure Kizza Besigye has petitioned court seeking orders to stop his detention and prosecution