>It is occasionally possible, with a sample of genetic information about genes not under strong selection pressure, to make a reasonably accurate rough guess of the "race" categorization of many individuals. (I have read the article, and I see that that is the claim, as in the excerpt you quote, but the article also notes exceptions in the sample it examined who were miscategorized.) But those study authors, and all competent human geneticists, do NOT argue the converse: that if you know an individual's race categorization, you know to a reasonable degree of accuracy what specific genes that person has of interest to human behaviors.
I don't think the comment you're replying to purported to argue that in the first place. He was just trying to refute the notion that race is merely a matter of social labels; the fact is those labels refer to something real in terms of a person's ancestry that can be detected by genetic tests.
Like you say, it has never been demonstrated that racial groups differ in their genetic propensity for intelligence, but it has also never been demonstrated that they don't. Given the observed IQ differences between racial groups and the fact that these groups differ genetically, a genetic basis for these differences seems like a reasonable thing to hypothesize about, and apply scientific methods of inquiry into. This is why I have a problem with a statement like "race and IQ is not a legitimate matter for scientific inquiry."