The Duchess of Sussex spoke about the need for changes around social media safety at the Archewell Foundation's mental health summit