Characterizing NIP henselian fields