Generalizing Wave Gestures from Sparse Examples for Real-time Character Control