Holographic lattice in Einstein-Maxwell-dilaton gravity