An ally of the mayor said it was ‘outrageous’ of the Tory leadership candidate to suggest the Met Police should stop ‘focusing on community relations’