Text this: Impact of strong magnetic field, baryon chemical potential, and medium anisotropy on polarization and spin alignment of hadrons