Continual Learning to Generalize Forwarding Strategies for Diverse Mobile Wireless Networks