The black knurled piece you circled is the end cap of the cone/spacer stack. You need to keep that knurled end cap, the knurling is what secures the wheel in the dropouts when the skewer is closed.
However, if you remove the knurled end cap and the rubber/plastic dust cover behind it (large black cone shape), you should find that it covers a set of spacers. You may be able to remove ~5 mm of spacers and end up with a 130 mm stack. The dust cover may not fit any more without trimming.
However, the axle itself will still be 5 mm too long, and that may interfere with proper skewer operation. You can trim the axle, but you'd want to chase the threads with a tap after sawing (recommended technique is to thread the tap on, saw off the end, then unthread the tap to clean up the end threads).
Or, you may be able to replace the axle with one that already 130 mm. I believe these 9 speed XT hubs still have a standard steel axle. My 10 speed XT hubs (XT-T780) definitely don't; they have an oversized aluminum axle with end caps.
I recommend removing the cassette and freehub when doing axle work, and securing one end of the axle in a bench vise. Use something to protect the threads from the vise jaws.
Alternatively, just cram the 135 mm hub in your 130 mm dropouts. The rear triangle of your bike (1st gen San Marcos?) should be able to spread easily, without affecting alignment seriously.