Stabilizer bootstrapping: A recipe for efficient agnostic tomography and magic estimation