Enhancing Spin Coherence in Optically Addressable Molecular Qubits through Host-Matrix Control