Agriculture was so recent that non-adaptive genes have not been fully removed from the population, nor have adaptive ones (like digesting lactose in adulthood) fully spread through the population. Humans were part way through a massive selective sweep (adaption to agriculture) when the industrial revolution happened. If this had taken 100,000 years rather than 10,000 years then Celiac's would have become almost non-existant.
There's also some research that suggests modern high-gluten wheat varieties have more of the proteins that trigger coeliac disease (https://www.nature.com/articles/srep44609)
I think that's an interesting empirical question. The question is the degree to which their genes propagate vs people without celiac disease. There seems to be a generic component to celiac disease, so obviously the effect can't be strong enough to wipe out the disease (and also worth remembering that there may be positive effects of those genes), but does it actually affect their evolutionary fitness to some degree? (and I think you'd find many people with celiac disease would say that it makes it difficult for them to thrive, in a more everyday use of the term 'thrive')
http://www.okwave.com/uploads/attachments/post/image_9/27964...
What we have more of an issue is smart people are not having children, or not having as many as they can. The only resource in short supply on the planet is smart people.
Given the current selective pressure against high intelligence it is not too wrong to say it is lethal genetic trait.
A celiac who continues to eat gluten will not be at their best or healthiest. They will have an uphill battle in life compared to everyone else.
A celiac who stops eating gluten might spend more on food than other people, minorly impacting their life. (Or, maybe they eat more vegetables than average, and thus being celiac becomes an advantage!?)
On a massive population scale, they will on average have some fitness modifier, and their genes will still be selected for or against- just more slowly.
Just think of more severe conditions. There are many once-fatal or severely-debilitating conditions where we've enabled people to survive and possibly even reproduce- but the deck is still heavily stacked against them, and they do not on average tend to have large families with lots of successful kids. So a once-fatal trait becomes less severe, but it's still selected against.
There might be some hidden benefit too, such as with sickle cell and malaria, or more commonly the defective genes are part and parcel of a critical system.