US president’s taunts galvanise governing party and upend Conservative opposition’s strategy