New York prosecutors have invited former President Donald Trump to testify about his role in the hush-money payment to adult film actress Stormy Daniels.