Uganda's military says retired general Peter Elwelu was arrested in Soroti after weeks on the run and will face charges over alleged subversion.