Boris Johnson writes that he was asked by Buckingham Palace officials to give Prince Harry ‘a manly pep talk’ to convince him to stay in the UK