The Supreme Court is reviving a Republican challenge to a law allowing the counting of late-arriving mail ballots, a target of President Donald Trump.