Vibrational relaxation dynamics in layered perovskite quantum wells