Legislation that could ban TikTok if its China-based owner doesn’t sell its stake has won a major boost as House Republicans included it in a package of bills that would send U.S. aid to Ukraine and Israel.