The number of people who have been held without a trial for more than 30 weeks has risen more than any other group since the beginning of the COVID pandemic.