IoTSL: Toward Efficient Distributed Learning for Resource-Constrained Internet of Things