Extremal trajectories and Maxwell points in sub-Riemannian problem on the Engel group