The High Court has issued an injunction over the enforcement of a ban on puberty blocker prescriptions.