The dependence of galaxy clustering on stellar mass, star-formation rate and redshift at z = 0.8 - 2.2, with HiZELS