U.S. immigration authorities have detained a 23-year-old Mexican man who was brought to the United States illegally as a child and given a work permit during the Obama administration, according to a lawsuit challenging the detention in Seattle federal court.