Bluetooth: Add state tracking to struct l2cap_chan