President Trump’s commencement address was a mixture of jokes and praise for the seafaring life of the Coast Guard graduates.