Long-distance dispersal and its influence on adaptation to host resistance in a heterogeneous landscape