You want to show g/h(ax+(1-a)y) ≤ max(g/h(x), g/h(y)), which is straightforward, because the lefthand side is no bigger than (ag(x) + (1-a)g(y))/(ah(x) + (1-a) h(y)).