Ref. No. 1077/41-268
In the name of Allah the most Gracious the most Merciful
The answer to your question is as follows:
If a Taweez is consisting of Allah’s name or Quranic verses and it is sewn in cloth and packed carefully then one can go to bathroom or washroom while wearing it. Likewise if the taweez is placed inside the wallet and is fully covered, then too it is allowable to go to washroom along with the wallet though it is not recommended.
And Allah knows best
Darul Uloom Waqf Deoband