The number of people amassed in immigration detention under the Trump administration has reached record highs, raising concerns among migrant advocates about disease outbreaks and resulting quarantines that limit access to legal services.