A unified evolutionary framework for understanding parasite infection and host migratory behavior