The Orange County Superior Court judge who recused himself endorsed a prosecutor’s judicial campaign, then was assigned a murder case in which that prosecutor could be a key witness in pretrial proceedings over alleged misconduct involving jail informants.