Well thanks for all the pointers and ideas but I think I've got it "fixed" now... I'm still not sure what caused the breakage though...
I noticed there was a new release of the UniFi software (3.2.1) and managed to upgrade it and then updated the firmware on the AP, now the laptop is connecting with 802.11n again.
Thanks, Richard