Add travis check for disable-wallet compile mode

This makes Travis-CI ensure that a new PR doesn't break the capability to build a wallet-less version. This is one of the things easily missed when testing a change.