Conversion of a 2D Lepidocrocite-Type Layered Titanate into Its 1D Nanowire Form with Enhancement of Cation Exchange and Photocatalytic Performance