This shows the layout with the new measurements.
Note that the shower is enlarged. I would think that if you make your shower 2" shorter, you should be able to recess the toilet on the back wall and add a window. A 2'10" width is a bit narrow with full height walls on each side for cleaning but I think it is feasible. My powder room has a standard size toilet (seat is at 17" from the floor and it is rounded) and one side is at 1'3" from the wall (the other side is the vanity). I do the cleaning in my powder room but I must say my head is really close to the toilet when I clean the floor ... at least I clean the toilet before the floor ha! ha!. I think if you need to service the toilet, 2'10" with full height walls on each side should be ok but it is something to ask your contractor. If you make your shower 3'6" x 3'6", you can have a window and the cleaning and service the toilet should not be too much difficult. That would be my recommendation.
This is the layout with the toilet on the closet wall and the vanity against the bedroom wall. Personally, I would not recommend it. You have very little space when you get out of the shower or when you stand in front of the sink.
Q
Drying rack
Q