Dynamics of van der Waals charge qubit in two-dimensional bilayer materials: Ab initio quantum transport and qubit measurement