Repeated gain and loss of a single gene modulates the evolution of vascular pathogen lifestyles