ActPC-Chem: Discrete Active Predictive Coding for Goal-Guided Algorithmic Chemis