Spectral Finite Element for Wave Propagation in Curved Beams