You have not written a question per se. The Chicago Manual of Style calls this an indirect question and does not use a question mark.
For example, Martha stopped to pick up a letter from the ground and wondered if she should mail it.
However, Martha stopped to pick up the letter from the ground; should I mail it?, she wondered.
Or better, Martha wondered if she should mail the letter she picked up from the ground.
Simply, She asked herself why
As your sentence is written:
He hadn't gone to toilet in a week, so he told me that he could no longer resist and may he go now.