A multi-dimensional discrete-ordinates method for polarized radiative transfer. Part I: Validation for randomly oriented axisymmetric particles