Michigan’s new bipartisan law limits smartphone use in classrooms. Lawmakers must tackle online safety next.