A new study found that when young children spend time with screens, their school test scores are lower years later.