Star–galaxy separation strategies for WISE-2MASS all-sky infrared galaxy catalogues