Semiparametric Learning of Integral Functionals on Submanifolds