dtls: Check if pad stopped while sending data
If sending data would block, we can get into an infinite loop retrying while holding the stream lock. Check to see if the pad as been deactivated and bail.
Fixes a timeout I was occasionally seeing in the webrtcbin tests.