Slow and incomplete inactivations of voltage-gated channels dominate encoding in synthetic neurons