Resource limitation is a driver of local adaptation in mycorrhizal symbioses