Long‐term variation in environmental conditions influences host–parasite fitness