A blueprint for a simultaneous test of quantum mechanics and general relativity in a space-based quantum optics experiment