I have something similar but much, much worse, I. Sounds like you've ruled out structural abnormalities such as leg length discrepancy/scoliosis. If it's truly a muscle imbalance, just deload until you can squat with perfect form and work up from there and it should even itself out.