Children risk having poorer mental health in early adulthood if they owned a smartphone before the age of 13.