Detecting button presses on a 120V button

because there will be losses losses during rectify.

No, the other way round. If the transformer is rated at 6V RMS the rectifying that will give you the peak voltage 8.4V. That is what you will see.

Plug that into an optocoupler,

If you have a transformer then there is no need for an opto coupler.