The option “Launch agent by connecting it to the master” is only available if the inbound agents port is enabled (i.e. the TcpSlaveAgentListener is running).
The inbound agents port can be enabled under Manage Jenkins > Configure Global Security > Agents > TCP port for inbound agents. Once enabled, the option “Launch agent by connecting it to the master” will be available in the configuration of the Jenkins Nodes.