Method, device, and system for forwarding packet