Domain-informed graph neural networks: a quantum chemistry case study