Check out the Fcron wiki page http://wiki.maemo.org/Fcron It has scripts to turn off and on wifi, I think you could use these with dbus-scripts as well. So I think you would run a script to turn off WiFi, when the dbus event for Bt connection takes place, and reverse that on disconnect.