Human rights groups have sued to gain access to migrants held at the US military base in Guantanamo, Cuba, amid Trump's crackdown on immigration.