Local adaptation of a bacterium is as important as its presence in structuring a natural microbial community