Set -discover=0 in regtest framework

The regtest framework is local, so often there is no need to
discover our external IP.  Setting -discover=0 in util.py works
around shutdown hang caused by GetExternalIP waiting in recv().
Merge pull request #4522 from dgenr8/set_discover_0

Set -discover=0 in regtest framework