Banning WeChat, the world’s most-used messaging app, has the potential to upend the international businesses of companies from Apple to Walmart.