While extreme cases are useful for illustration and thought experiments, they are quite distracting when the real issue is small variances in the top ranges of ability.
Which should make you rather skeptical of inferring just how innate IQ really is (assuming it's a valid concept).
The heritability correlations for obesity are only slightly weaker than IQ. Yet we know for a fact the logical complexity of losing weight is simple (doesn't mean it's easy). Anyone can and people do lose weight, even if statistically it may be rather unlikely.
It's completely plausible to me that intelligence can be simple but hard to increase too.
If it's not a statistical anomaly and the genes truly do contribute to obesity, the causation must be very indirect and situational.
Is it genetics? Is it gut microbiota? (E.g. genetics of other species?)
If you don't control for portion size comparing people who all have a burger and fries for dinner every night is basically useless, those meals could be hugely different in composition, portion size or how much is left over. Even if dinners are identical, snacking can be thousands of calories a day that you might never see happening. You've also missed what activity they do as well...
Two people who both "chug beer and eat greasy takeaways" whenever you see them out can be very different the rest of the time. If one stays slim and one doesn't it's far more likely to be that the former eats smaller portions overall, snacks less between foods and does more activity overall, before reaching for more exotic answers.
I know of one study only where the numbers can be trusted, and it was done on prisoners, where every single gram of food that passed their lips was accounted for. They were fed the same diets, but their weight gains varied a lot:
https://dm5migu4zj3pb.cloudfront.net/manuscripts/106000/1065...
The paper is about how the weight of fat cells changed at different subject weights, not how much subject weight changed for a fixed food size - the only mention of food portions is with respect to ensuring weight was maintained, gained and lost for the different stages. "After desired or maximum obtainable weight was reached" indicates they weren't using weight as the outcome here.
The only place you can see the weight gains is by looking at Table I and working it out yourself for each subject, and the relative gains are all very similar: 23.3%, 25.3%, 21.4%, 20.0% and 18.0%. I'm guessing they wanted them to put on 20-25% of their body weight to give consistent and measurable changes to the fat cells.
I understand that some have genetics that make it harder for them to keep off weight, either by metabolism, neural hunger stimuli or otherwise, but then we're still back to the fact that environmental changes made the biggest effect, not genetics. Why can't this be the case in your other examples too?
TL;DR: Yes, genetics matter. What's more relevant is, how much?
Due to epigenetics, environmentals actually shape genetics to a degree.
Someone in these discussions always brings up epigenetics at some point, its impact there far exceeding its impact on population genetics I would guess :) Nobody ever talks about genetic drift or gene flow however, probably because despite being actual things that affect population genetics talking about "nearly neutral drift in small populations" is really hard to wedge into an ideological shouting match dressed up as a scientific debate.
Your random guy on the street ain't going to be Newton, no matter how much he studies or loves math. Similarly, the man born with muscular dystrophy isn't going to be setting marathon records.
This is a simplification of course, but I hope it conveys the point.
We have fat raccoons, that implies that genetics doesn't matter as much as we think we does.
Same with intelligence, how much is it genetics and how much is that the environment doesn't promote desired traits.
Of course, named disorder or not, genetics can be the cause/have a high impact.
E.g. is it bad for a primate to have bad bite strength? What if that disability enhances their thinking ability (by both allowing their brain to expand more since the muscles holding the jaw are weaker and by forcing them to use something other than their bite strength)?