How to select layer in the object data instead of selecting the stroke in grease pencil?
Since GP object is only one object you can't select layers individually in Object mode. If you want to do that, you have to separate the layer in Edit mode to make it a distinct object.