Lax formalism for q-Painleve equations with affine Weyl group symmetry of type E^{(1)}_n