The Dow Jones powered toward record highs on Thursday after the US and China brokered a last-minute trade deal to present to Trump.