Meghan McCain directed a message squarely at US President Donald Trump during the funeral of her father John McCain.