At least a dozen states have proposed or adopted policies to curb screen time, such as time limits and allowing families to opt out of virtual instruction.