The Origin of Neptune’s Unusual Satellites from a Planetary Encounter