A federal judge lifted an injunction against Trump’s mail-in voting order as states prepare for November midterm elections.