Indian court upholds hijab ban in classrooms in Karnataka state