I have problems in my left knee, had to hide it when I joined the Corps. It’s a hereditary defect in my family, the left knee is just twisted so that my left foot angles outward at approximately 75-80 degrees at rest.
I recommend a light duty brace, and quit twisting it. You would have to make a conscious effort and I know how hard that can be since I had to make the effort to keep mine straight through boot camp and infantry school.
I also have the same issue with my right ankle due to a prior injury. The pain is worse when I’m driving and I have to make the conscious effort to put my heel under my foot and not let it rest sideways against the accelerator.
So, force yourself to keep it straight, and light duty brace. You’re not looking to let a brace give all the support, just a little help. You can even just cut the end off a sock and pull it up around your knee. And get off your feet as much as you can for a few days and let it rest, take some Motrin, drink water, and change your socks.