Unfortunately, there is nothing that can be done to recover the data and your purchased/redeemed licenses from your account once the hacker is able to modify the account's security info.
However, I would recommend reaching out to Minecraft Support regarding your Minecraft account if they can provide an alternative option:
https://help.minecraft.net/hc/en-us/request/new?ticket_form_id=360001225811
Best regards,
Darhyl