Trump criticised for drive-by visit to thank supporters