No, for several reasons.
Here's glyph of warding:
You can store a prepared spell of 3rd level or lower in the glyph by casting it as part of creating the glyph...
The first problem is that a spell created via wish is not a prepared spell. (Wish itself is, but it's not the spell you're storing in the glyph.)
The second problem is that you have to actually cast the spell, and wish doesn't cast spells; it duplicates them.
Casting a spell requires performing the components. The rules are fairly emphatic about this:
A spell's components are the physical requirements you must meet in order to cast it... If you can't provide one or more of a spell's components, you are unable to cast the spell.
And specifically for material components:
But if a cost is indicated for a component, a character must have that specific component before he or she can cast the spell. If a spell states that a material component is consumed by the spell, the caster must provide this component for each casting of the spell.
Wish bypasses all of this, including the requirement to provide specific material components, and that's because it doesn't cast the spell. The verb it uses is "duplicate".
The third problem is that wish says that "the spell simply takes effect". But glyph of warding precisely requires the spell not to take effect just yet. It overrides the normal mechanics of casting the spell, but it doesn't override wishing the effect into existence.