Kevin Rudd has shared a parting message after concluding his Washington posting as Australia’s ambassador to the US.