N-Doped Octagon-Containing HBC as Redox and pH Chiroptical Switch in the NIR