TikTok and ByteDance staff’s easy access to the friend lists of the First Family and public figures has created national security and privacy risks ahead of the election.