Uganda police detained seven protesters on Thursday, including a prominent human rights lawyer, as they rallied against the imprisonment of another lawyer.