Potential PeVatron supernova remnant G106.3+2.7 seen in the highest-energy gamma rays