Former Junee teacher Carl Doherty’s sentence on sex offences may mean he dies in jail