Law being questioned would force TikTok to sell to a U.S.-based company or be banned