Evolutionary history predicts plant defense against an invasive pest