Enhanced transmission versus localization of a light pulse by a subwavelength metal slit