Exploring 2D quantum materials with a single-spin quantum sensor