I’m on the fringes of both fandoms and don’t follow the goings-on of the more active elements of either, so couldn’t say with any degree of authority, but my impression has been the opposite. In the past few years since the Disney acquisition, there’s been a sizable uptick in the generation of Officially Licensed SW content, aimed both at young kids and arguable adults… the ongoing books and comics and video games but also a new infusion of TV shows and now movies again. It’s really in the public consciousness now, front and center, whereas the official Trek content has been a bit more moribund. I mean, no new TV episodes in over a decade, and the most recent movie wasn’t widely beloved. I think these of-the-moment states of the franchises do affect the current states of their respective fandoms, and though Trekkers are famously droughtproof when it comes to this issue, they do, I think, tend to age. Trek isn’t aimed at kids in the way SW is, for one thing, and so doesn’t attract a steady stream of new young fans in the years between movies in the way that SW does. It could be argued that Trek fanfic and fan-films are generally more sophisticated than SW ones on average, if only because there are so many young kids like mine ginning up SW fan films on their mom’s iPhone, compared to the content generated by the somewhat narrower demographic of Trek fans who do something similar.
But I dunno. As far as I know anything, there might be tons more Trek fanfic out there. But if so, it’d kind of surprise me.