Former US President Donald Trump has been found guilty of assaulting an author.