Species interactions constrain adaptation and preserve ecological stability in an experimental microbial community