Structurally Tunable Two-Dimensional Layered Perovskites: From Confinement and Enhanced Charge Transport to Prolonged Hot Carrier Cooling Dynamics