The ALMA survey of Gas Evolution of PROtoplanetary Disks (AGE-PRO). VIII. The impact of external photoevaporation on disk masses and radii in Upper Scorpius