1-What would you like to do...is like saying what do u want to do... ( this afternoon, this weekend...[at a particular time])
2-What do you like doing... ( in ur free time ). in this sentence u are asking someone generally what does he do....., like asking him about his habits !! the tense here plays an essential role, the present simple describe habits and routines.
hope it helps :)