Hello,
Unai has explained the reason for your stuck voltage.
As workaround you would need an additional opamp between your digital potentiometer and the ADJ. pin of the voltage regulator.
When you consider to redesign it, you would propably shortly use a digital to analog converter for it.