Supreme Court takes up a Republican appeal to end limits on party spending in federal elections