Composite Goodness-of-fit Tests with Kernels (Journal of Machine Learning Research, 2026)