The following command can be used to turn off xfwm4's compositing feature:
xfconf-query -c xfwm4 -p /general/use_compositing -s false