Open strings in a pp-wave background from defect conformal field theory