The Trump administration said Thursday it will seek to keep some undocumented immigrant children in detention for far longer than currently allowed, a move that would have sweeping implications for the families and for the immigration detention system.