The quaternionic Gauss-Lucas theorem