U.S. stocks have been on a tear over the past 12 months — momentum that is threatened in part by the potential for inflation-stoking tariffs under President-elect Donald Trump.