The Supreme Court has blocked a lower court order in a dispute over discounted political advertising rates ahead of the midterms.