Hey Ricardo!
Nice to meet you! I'm Darhyl, an Independent Advisor. I'm sorry you are experiencing this with your Microsoft/Minecraft account.
Based on your description, your account was compromised. The hacker was able to replace your primary email address with the hacker's email.
The only way to recover your account is through the official Microsoft website:
https://support.microsoft.com/en-us/account-bil...
If it doesn't work and since your email address has been changed by the hacker, I'm afraid there is no more working method to recover the Microsoft account and Microsoft Support cannot help either.
Thank you for your kindness and understanding.
Best regards,
Darhyl