Caroline Wozniacki is into her first US Open Final for 5 years after her semi-final opponent Peng Shuai was forced to retire with severe body cramps.