No 10 will study the French leader’s playbook to decide whether Starmer should emulate his efforts to woo the mercurial and quixotic US President