Taiwan is toughening laws, fostering memes and partnering with the likes of Facebook to fight back against China’s attempts to influence its coming election, which might be a test bed for a similar campaign aimed at the U.S. presidential election later this year.