WIMP Dark Matter Search using a 3.1 tonne $\times$ year Exposure of the XENONnT Experiment