A p(x)-Laplacian extension of the Díaz-Saa inequality and some applications