Dynamical friction in a non-rotating triaxial galaxy: the effect on box orbits