A General Scoring Rule for Randomized Kernel Approximation with Application to Canonical Correlation Analysis