Gene flow and adaptive potential in a generalist ectoparasite