The distance sum rule from strong lensing systems and quasars – test of cosmic curvature and beyond