After Meta agreed to pay as much as $17 billion to settle claims that it had built Instagram and Facebook to hook children, attorneys general in several states outlined how the money should be spent.