While, yes, the data could have been used to track him down, but reposting it on twitter is not enabling anyone to stalk. Crimimals that would want to hunt down Elon or X, would definitely have specialists who can gather this and other data without some random twitter user