The U.S. Supreme Court's 2022-23 term wrapped up in June with major rulings on affirmative action, student debt relief and voting rights.