Unusual soft mode dynamics in ferroelectric PbTiO3 nanowire under different mechanical boundary conditions