I have the same problem. The review process demands "restore" functionality and says "restoring purchases on launch" is not acceptable. In the documentation it is mentioned with:
"Don’t automatically restore purchases, especially when your app launches. Restoring purchases prompts for the user’s App Store credentials, which interrupts the flow of your app."
Well ... this forbids to use .currentEntitlementTask or any other entitlements requesting tasks on start of the app because of the reason above.