You are on the right track. The reason they're not a simple relay contact comes down to safety. The door opener needs to insure the the safety sensors are operating each closing cycle. A normally closed contact doesn't qualify. Each manufacturer has their own way of doing it. Usually, there are two ways of doing it. Easy way is to power the transmitter and analyze the output of the receiver. Usually the frequency will go down when the beam is blocked. This can be rectified and then you can just monitor the change in voltage. Otherwise, you can actually calculate the frequency in your micro.