The Duchess of Sussex was seen singing and dancing to Sam Ryder in unseen Invictus Games closing ceremony clip