Interesting thought. I would say something like the hubble transcends politcal/governmental boundaries... although I do wonder how much if its software is used in other secretive satellites.
The question is not "is the US military still doing telescope-based surveillance?" it's "is the US military doing it with Hubble-class stuff, or are they doing it with newer stuff?"
Given the age and amount of hands-on maintenance required to keep the Hubble working, it's almost certain they're doing it with newer stuff.
https://en.wikipedia.org/wiki/USA-245
USA-314, launched this year, is allegedly a KH derivative.