Prototypical Transformer as Unified Motion Learners