The upcoming midterm elections could significantly shift the balance of power in Washington—and with it, the market and economic landscape.