MIC detect and analog volume control are mutually exclusive so you have to choose one or the other.
I recommend configuring the DAC3101 to trigger an interrupt (see P0R48/R49) to your uC when it detects a headset/MIC. Your uC can then mute or unmute the class-D amps through the control interface in the ISR.