First results from the JWST Early Release Science Program Q3D: Turbulent times in the life of a $z \sim 3$ extremely red quasar revealed by NIRSpec IFU