Bear spray (depending on your location) is good to have. But if bear spray is too out there, then pepper spray is good. Good footwear, no headphones, and maybe a stick or hiking pole.
Honestly though, I know there are some wackos out there but I've never felt in danger when hiking. Sometimes I'll let someone pass me and be ahead because I get anxious about people being behind me, but I've never had anyone be weird. Even disc golfing in cities has been fine.
Grains of salt as I am cis and I know things are harder for our trans sisters.