The value of X changes as your life total changes. Since damage remains marked on creatures until the damage is removed as the turn ends, nonlethal damage dealt to the equipped creature may become lethal if your life total decreases during that turn.