It isn't.
Some airports select a small subset of people and swab their bag manually for drug residue. If people are sampled randomly for swabbing, yet drug smugglers have a demographic skew to e.g. young people, then you've got a suboptimal policy in terms of maximizing the proportion of all searches that find illicit drugs.
> Previous contraband seizure statistics will be skewed by survivor bias.
What do you mean by this? Are you suggesting that it's difficult to design an appropriate skew in search frequencies due to a lack of high quality data about the demographics of drug smugglers?
> This kind of reasoning results in ... ineffective solutions (security theater)
I disagree. Peak ineffectiveness and theater is searching 90 year-old women as often as 21 year-old men, when nearly 100% of suicide attacks and mass shootings are perpetrated by young men and 0% by old women.
Searching 21 year-old men may still be theater to an extent, but it is less theatrical than searching 90 year-old women with equal frequency.