Man who stabbed woman in a park jailed