A 21-year-old man will spend a minimum of 12 years behind bars for the death of a teenager on the NSW far north coast in 2022.