The Supreme Court on Thursday allowed South Carolina to use a congressional map that a lower court had said weakened Black voting rights, bolstering the political fortunes of Republicans as they seek to maintain control of the House of Representatives and making it harder to challenge districts on grounds of racial gerrymandering nationwide.