The transport–structural correspondence across the nematic phase transition probed by elasto X-ray diffraction