US President Donald Trump received an invitation from King Charles for a second state visit.