The Supreme Court has rejected Virginia’s bid to restore a congressional map that would have given Democrats a chance to pick up four seats in the closely divided House of Representatives.