In the case of a high kneecap, as you have been diagnosed with, the kneecap exerts increased pressure on the joint cartilage during the flexion phase of the knee. Constantly recurring pressure, for example when pedalling while cycling, can lead to permanent damage to the cartilage - and even osteoarthritis. In my experience, however, it is not the incorrect position that causes problems, but over-intensive training or an incorrect sitting position on the bike. Try to optimise your riding position and give your knee enough time to recover between training sessions. Reduce the volume and intensity of your training and regularly stretch your quadriceps muscles - this is a tried and tested measure for kneecap elevation.
More on the topic Knee