Sure, the DMA doesn't specifically forbid a platform-holder for charging a license fee. That's unlikely to be because the people drafting the regulation were idiots who couldn't think of the concept of license fees.
The gatekeepers must allow alternative distribution channels to compete on price, and as per section 39 anything that's functionally equivalent to preventing price competition ("such as increased commission rates") is forbidden. And that's what Apple are doing here: they're giving the developers staying on the App Store preferential terms. Section 62 reiterates specifically on the context of app stores that "gatekeepers should not be allowed to impose general conditions, including pricing conditions, that would be unfair or lead to unjustified differentiation".
Whether they're calling it a license fee or something else doesn't matter, as longs as the terms are discriminatory. And in this case it's pretty clear that both the pricing terms (the Core Tech Fee) and non-pricing terms (the irrevocable all or nothing nature of the choice) are discriminatory.