Foam and head retention can be enhanced by proper malting techniques, healthy fermentations, spunding, and hop oils. Wheat can help but you can get great long lasting foam without it.
Not sure what you mean by "proper malting techniques"...
And without a healthy fermentation, I'm thinking head retention would be only one of a whole host of problems.
I certainly agree that wheat malt is not required for long lasting foam. But I do get great long lasting foam using wheat malt without spunding or an abundance of hop oils. Of course, I assume this means my fermentation is healthy, my mash is favorable, my glass is clean...among many other things.