Substrate-controlled dynamics of spin qubits in low dimensional van der Waals materials