Third-order ladder operators, generalized Okamoto and exceptional orthogonal polynomials