Court hears Catholic school firing case