Uganda is holding the military commander of Congo’s defeated M23 rebel movement after he surrendered on Tuesday.