Characterizing the fitness landscapes of gut symbionts in defined community and diet contexts