Federal judge sides with Catholic school over guidance counselor's firing