Meta has agreed to pay $17 billion and add stronger child-safety measures to its Facebook and Instagram platforms to end a landmark trial over teen social media addiction and settle claims filed by 47 states, state attorneys general announced Wednesday. The settlement resolves a pivotal legal case years in the making that sought to hold the tech giant…