The companies had sought a new trial in a lawsuit filed by a woman who said she became addicted to Google’s YouTube and Meta’s Instagram at a young age.