Test of lepton flavor universality by the measurement of the B0 →d∗-τ+ντ branching fraction using three-prong τ decays