Father sentenced to 12 years in prison as part of plea deal for the 2023 murder of his son