After British PM crushes his left-wing rivals, US president indicates he sees parallels in political landscape on both sides of the Atlantic