The Duke of Sussex won his bid to challenge the U.K. government over security arrangements for him and his family while in the country.