US President Donald Trump spoke to leaders of the Quad security bloc at their first summit since 2024.