Nicholas and Mackenzie Spencer were arrested in December 2022 and were accused of torturing their 10-year-old foster son