The Federal Reserve’s first increase to interest rates since July 2023 comes less than two months before the midterm elections.