Fix wxSocket::WaitForAccept() in blocking mode.
When wxSocket::WaitForAccept() was called from another thread or on a socket
with wxSOCKET_BLOCK flag it didn't work because it called
wxSocketImpl::Select() with wxSOCKET_CONNECTION_FLAG which was only handled
for the client sockets in this function.
Handle it now for the server ones too, this should allow blocking server
sockets to work again.
Closes #12836.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68492
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775