Evidence of climate‐driven selection on tree traits and trait plasticity across the climatic range of a riparian foundation species