The American Civil Liberties Union has sued the federal government to limit the amount of time that people can be held before seeing an immigration judge, saying many are held for months while waiting for an initial appearance.