The brush popup is a setting for right-clicking the mouse (or using the pen as a right click, when held). This would not be a Photoshop setting, but a part of the pen settings in your Surface Studio Pro 2. Tell the pen setting that a long press would be a right click.
Adobe Community Expert / Adobe Certified Instructor