Expansion history and environmental suitability shape effective population size in a plant invasion