Escape window titles before `format-expand`ing them

To reproduce the bug addressed by this commit:

  (1) launch `xterm -T '^\'`
  (2) call the stumpwm command `echo-windows`

Prior to this patch, an error would occur