President Donald Trump wants to let states use a federal database that includes voters’ personal information to check for noncitizens on election rolls. Following the emergency ruling, the fight over the procedure’s legality will continue in the lower courts.