The Justice Department sued California, alleging that the federal government has identified more than 20,000 noncitizens who are unlawfully registered to vote.