Michael McCormack suggests Barnaby Joyce’s unpopularity in inner city contributed to Coalition’s loss