Trump asked the court to revive the contested restrictions as states begin sending ballots ahead of November's midterm elections.