No worries Steve ... it's got to be something with the two safety cut-out switches, one for the kick stand, the other for neutral. Both will disable starter if:
Bike is not in neutral or kick stand is down.
Some bikes (like my DR650) also have a cut out safety switch at the clutch.
Clutch must be pulled IN for starter to crank. All of them are a PITA ... but there it is!
Mine is same as yours ... will bump start but won't go using the button.
Probably there is a break in one of the wires or connections for one of these
pesky safety cut out switches.
Take your time, clean all the oil and crap off and have a close look when your in a good mood and working in the shade!

These systems can be tricky ... and typically the wires go all the way back to the CDI or main wiring loom. A wiring diagram can help.
Many riders disable these cut outs. If you do so ... be sure to do it properly so it doesn't act up down the road.
Your bike may have a Neutral sending switch ... which senses when the bike is in neutral and lets current pass so starter can operate and of course, lights the neutral light on your dash. It may have come loose or broken?
On my DR, it's stuck in by the clutch under engine side case, with two wires coming out of it. I've retained mine but many disable it.
There are tons of XT guys here who know this bike WAY better than I do. I'm sure someone will speak up.
All the best!

The good news is ... at least she's firing up!