The Danish prime minister, Mette Frederiksen, has linked the use of social media to anxiety, depression, and lack of concentration in minors.