Text this: Machine learning with knowledge constraints for design optimization of microring resonators as a quantum light source