President Emmanuel Macron of France and Prime Minister Giorgia Meloni of Italy have regularly sniped, but they are meeting in Rome in pursuit of common goals.