A former US tax worker has pleaded guilty to the unauthorised leak of ex-president Donald Trump’s personal tax records to news organisations.