Bivariate Causal Discovery for Categorical Data via Classification with Optimal Label Permutation