Your phone is not hacked unless you actively decided to jailbreak it. That is not something that can be done by accident or remotely, so that would be an intentional action on your part.
It is entirely possible that an account may be compromised. If that is the case for you, review the information below. Make sure you are using two factor authentication to prevent another device from logging into your account without the verification code sent to your trusted device. You can also view the devices logged into your account by going to Settings > [name on top], and scroll to the bottom. Tap on a device to remove it, and follow up by changing your Password.
If you think your Apple Account has been compromised - Apple Support
Not sure what you are referring to with 2 of your phones showing in Screen Time. A screenshot may be helpful as long as it does not contain any personal information such as your name.