[dtls] only use DTLSv1_get_timeout before handshake completes
[dtls] only use DTLSv1_get_timeout before handshake completes

This improves performance and should also avoid problems with OpenSSL
1.1.0j:

https://github.com/openssl/openssl/issues/7998

aiortc/aiortc