Host niche may determine disease-driven extinction risk