Licensed engineers are a subset, in a mathematical way. All licensed engineers are engineers, not all engineers are licensed engineers.
The licencing of some engineering is simply a relatively recent regulatory capture but that does not limit the types of work that engineering covers.