Kinetic Sunyaev-Zel'dovich effect in modified gravity