Teenager arrested after attempted robbery in Carlisle