Case has raised concerns among government critics about a crackdown ahead of Uganda's national election early next year.