Rear derailleur at limit, chain still rubbing
If aligning the hanger doesn't work, it's not a tweaked derailleur, the guide pulley isn't slopped out, and it behaves the same with zero cable tension, the fix is then to put a spacer under the RD mounting bolt. In shops this would be a 1mm M10 axle spacer, but you can improvise with whatever.
It's unusual to need to do this on aluminum bikes, so I kind of suspect it's something else, but in a pinch the spacer may be a solution of sorts anyway.