The US president weighed in on the scandal over Sir Keir Starmer’s appointment