The Duke and Duchess of Sussex's three-year-old son Archie was targeted by white supremacists over his mixed race, a court has been told.