Under a settlement of a 47-state lawsuit, the owner of Facebook and Instagram also announced a series of concessions on how children can engage with its apps.