When a pandemic spreads through “World of Warcraft,” epidemiologists study the game to learn real-world lessons.