Sale talks for TikTok’s U.S. operations have been complicated by the key question of whether the app’s core algorithms can be included as part of a deal, according to a report in The Wall Street Journal that cited unidentified people familiar with the matter.