A controversial rape crisis centre has issued a formal apology to a former employee it forced out over her gender critical beliefs.