There’s growing evidence that medicine risks losing talent from poor and working-class, Black and Latino communities.