Investors need a scorecard to keep track of the array of candidates vying to be President-elect Donald Trump’s Treasury secretary, and that was likely part of the reason for stock-market weakness, analysts said.