Machine Learning Enhanced Quantum-Safe Encryption: A Novel Optimisation Framework | Synapse