Rights group says thousands of minors are held for long periods of time over suspected involvement with Boko Haram.