Its origin was as a proud self-assigned term. It became derogatory entirely due to the behavior of said people. People wanting to speak seriously on the topic should avoid tone-policing and arguing about labels rather than the object referenced, despite knowing full well what is meant (otherwise, one wouldn't take offence)
While the terms "woke," "stay woke," and similar are used to self describe by traditionally marginalized groups, the forms "wokeness" and "woke agenda" are predominately used outside these communities as a pejorative.
This is true, but you could say the same about "Tory", or many other labels for political groups that are used by supporters and opponents alike. It refers to a thing that some people have good and some people have poor opinions on, but the label is just a proxy, not a cause or carrier of opinion itself
I use it because everyone knows the general set of ideas an adherent of it has, whether or not they claim to be part of the ideology.
Its the same as me using the term "rightoids" when discussing opposition to something like building bike lanes. You know exactly who that person is, and you know they exist.
It's origins are as a derogatory term, which people wanting to speak seriously on the topic should know.