How AGN feedback drives the size growth of the first quasars