Optimism that the United States and China are making significant progress toward bringing an end to the trade war that has roiled the economy in recent months has the Dow Jones Industrial Average and other major stock indices pointing north ahead of the year’s last trading session.