An opposition figure in Uganda was detained on the orders of the army chief, who later threatened to inflict “hurt and pain” against him