Sequential Change Detection by Optimal Weighted $\ell_2$ Divergence