On a connection between Minty variational inequalities and generalized convexity