Investors hoping for an Election Day lift face a looming government-spending showdown and growing opposition to AI data centers.