The New York Children’s Online Safety Act would require platforms to make children’s profiles private by default.