This sounds more like people who are from minority groups (or who look like they are, to a computer vision algorithm) are more likely to agree with left-leaning policies, which probably has more to do with the policies in those countries than it does with any sort of genetic features. I feel like this might not work as well in non-Western countries, for example.