Lattice relaxation of nanostructured semiconductor pillars observed by high‐resolution x‐ray diffraction