Environmentally Sensitive Luminescence Reveals Spatial Confinement, Dynamics, and Their Molecular Weight Dependence in a Polymer Glass