Since the data thread accesses the spa_bt_transport, its destroy event needs to sync with data thread to avoid races.
Also check transport is present in places that need it.
Fixes a crash seen in a2dp_on_timeout when BT connection dropped suddenly, and other similar ones. Cf. 7f6339e3
a2dp_on_timeout