How Does Black-Box Impact the Learning Guarantee of Stochastic Compositional Optimization?