The US president earlier questioned Meloni’s popularity after suggesting she “begged” for a photo at G7 summit