Member of British royal family wins Olympic medal