That's not how this works. If the model does something like "this image is of race X, race X has more lung cancers, therefore this image is likely lung cancer", then it's not helpful to anyone. You need the model to evaluate based on the image itself, not based on correlations that it can infer from the image - fairness is just a happy byproduct of that.