Text this: Probing the curvature of the cosmos from quantum entanglement due to gravity