This gesture could be a reference to the corkscrew.
It could also derive from the French expression for drunkenness: "avoir un verre dans le nez", which literally means "to have a glass in the nose".