Duality in vector optimization in Banach spaces with generalized convexity