The luminosity functions and redshift evolution of satellites of low-mass galaxies in the COSMOS survey