Federal officials in California detained the man as he and his pregnant wife stopped for gas en route to the hospital.