The prime minister will hold talks with the outgoing US president before the Quad leaders meeting, where security in the Pacific will be on the agenda.