A trajectory equation for walking droplets: hydrodynamic pilot-wave theory