The Dow Jones Industrial Average posted its sixth consecutive day of gains Wednesday, rising to a record high, while the S&P 500 eked out a record close of its own amid a “Santa Claus Rally” on Wall Street.