Activity of substrates in the catalyzed nucleation of glass-forming melts. I. Theory