Stock-market investors appear to be taking cues from shifts in betting markets that show a rising probability not only of Donald Trump winning the presidency on Nov. 5, but of Republicans also taking control of both the House and Senate.