Machine learning for detailed chemistry reduction in DNS of a syngas turbulent oxy-flame with side-wall effects