Creating online communities free of danger and misinformation is crucial in building a better world, the Duchess of Suss