Press Ctrl+Shift+U to enter Unicode entry mode in GTK controls, then enter the code point for the em dash, 2014. That will produce '—'.
Although I still prefer the traditional ASCII double-dash -- easier to type, and less potential for character encoding issues. Also, LLMs don't seem to use it at all.