Method 1: Step 1 :Make one shape layer without stroke Step 2 :duplicate the same layer by pressing Ctrl (or command)+J, Step 3 :Now select no fill for duplicated object and add desired stroke to the object, now you can easily change opacity of duplicate layer with stroke.
Method 2 : Right click on the layer. Blending options> add stroke and adjust opacity.