A solution is to configure XQuartz to enable "Option keys send Alt_L and Alt_R" under Preferences/Input.
Then add this to your ~/.emacs:
(setq x-alt-keysym 'meta)
It is not perfect, as you might still slip on Cmd-W instead of Option-W sometimes, but at least it is functional.