Returns Layer of a style that is used by a snapshotter
the Layer object if Layer with layerId exists, null otherwise
the id of a Layer