The case thrusts the court — whose 6-3 conservative majority includes three justices appointed by Trump — into the effort to invalidate his bid to reclaim the White House.