Mitch McConnell, the Senate majority leader who helped Republicans remake the U.S. Supreme Court and also influenced how political campaigns are financed, announced Thursday that he would not seek an eighth term in office.