Maximum entropy models elucidate the contribution of metabolic traits to patterns of community assembly