Vice President JD Vance said the agreement would give American investors control of the app’s powerful algorithm, with more details expected in the coming weeks.