Measurement of the time-integrated CP asymmetry in $D^{0}\rightarrow K^{0}_{S}K^{0}_{S}$ decays using Belle and Belle II data