Cosection localisation and the Quot scheme