 With market volatility rising ahead of U.S. presidential and congressional elections, investors are parsing what polls and policy proposals mean for everything from energy stocks to shares of private-prison operators. 