Using Windows+Alt+k (on Windows 11) seems to work nicely to globally toggle mute/unmute, even if Teams is not the active app.