[Staking] Exit CreateCoinStake loop if wallet locked/shutdown
[Staking] Exit CreateCoinStake loop if wallet locked/shutdown

If the wallet gets locked or a shutdown is requested in the middle of
the stakeinput loop, there is no sense in continuing.

PIVX-Project/PIVX,Mrs-X/PIVX,PIVX-Project/PIVX,Darknet-Crypto/Darknet,benzmuircroft/REWIRE.io,PIVX-Project/PIVX,Mrs-X/PIVX,Darknet-Crypto/Darknet,Mrs-X/Darknet,benzmuircroft/REWIRE.io,npccoin/npccoin,npccoin/npccoin,Mrs-X/Darknet,Mrs-X/PIVX,npccoin/npccoin,npccoin/npccoin,Darknet-Crypto/Darknet,Mrs-X/Darknet,Mrs-X/Darknet,benzmuircroft/REWIRE.io,Mrs-X/Darknet,Darknet-Crypto/Darknet,PIVX-Project/PIVX,Darknet-Crypto/Darknet,PIVX-Project/PIVX,PIVX-Project/PIVX,Mrs-X/PIVX,PIVX-Project/PIVX,Darknet-Crypto/Darknet,Mrs-X/Darknet,benzmuircroft/REWIRE.io,npccoin/npccoin,Mrs-X/PIVX,benzmuircroft/REWIRE.io,PIVX-Project/PIVX,npccoin/npccoin,PIVX-Project/PIVX,benzmuircroft/REWIRE.io,Mrs-X/PIVX