'American Idol' contestant has surprise duet with Katy Perry during audition