[Qt] add missing lock in walletmodel

see title.