The Justice Department threatened California with possible legal action over its claim that noncitizens may have received mail ballots for next month’s midterm elections. The warning escalates a dispute over voter-roll integrity and election administration in the state.