Move setting the sock->write_timeout to the async_*send

Setting the sock->write_timeout from the TCP, TCPDNS, and TLSDNS send
functions could lead to (harmless) data race when setting the value for
the first time when the isc_nm_send() function would be called from
thread not-matching the socket we are sending to.  Move the setting the
sock->write_timeout to the matching async function which is always
called from the matching thread.

(cherry picked from commit 61117840)
66 jobs for !6341 with 3344-threadsanitizer-data-race-in-isc__nm_tcpdns_send-v9_18 in 22 minutes and 36 seconds (queued for 9 seconds)
latest merge request