Three fixes for a round kick that hurts your knee
Pivot the base foot, turn the hip over and kick through, not at.

Pivot the base foot
If your standing foot stays pointed forward, your knee takes the twist. Get up on the ball of the foot and turn the heel toward the target.
Turn the hip over
The kick comes from the hip, not the knee. Think of rolling the hip over the top like closing a door.
Kick through, not at
Aim a foot behind the bag. Kicks that stop at the surface snap the knee straight and that is where it hurts.
Want this coached in person?
First session, $45.