Triaxial magnetic anisotropy in the two-dimensional ferromagnetic semiconductor CrSBr