Equidistribution of varieties for endomorphisms of projective spaces