Search for dark matter in events with a hadronically decaying vector boson and missing transverse momentum in pp collisions at \( \sqrt{s}=13 \) TeV with the ATLAS detector