If you’re NOT named on the lease, in QLD you’re what’s called an ‘Approved Occupant’ and as such, you have no responsibility towards the lease agreement.
This means that you can leave at any time.
It’s still a good idea to contact your property manager anyway and advise them, in confidence, what has happened. They can put notes in your file and ensure no personal information is inadvertently handed over to the leaseholder.