Operator-theoretic framework for forecasting nonlinear time series with kernel analog techniques