Testing the role of ecology and life history in structuring genetic variation across a landscape: a trait‐based phylogeographic approach