Single-shot spatially-localized NQR using field-dependent relaxation rates