Facing voter backlash and an energy-driven economic squeeze, the prime minister is recalibrating her ties with Washington