Indian court upholds ban on hijab in class