The lawsuit argues that the Trump administration’s immigration enforcement and suggestions that it could send agents to polling stations violate the Voting Rights Act.