What should I do with the grounding wire when connecting an ungrounded light fixture?
You do nothing with it. 

What you're doing violates electrical code and invalidates the UL listing of the components. However, most light fixtures don't require ground wires because they're "double insulated", so you'll just tuck it away or cut it short.