A Queensland father who brutally tortured and killed his helpless 21-month-old son has been sentenced to more than 12 years in prison.