It is definitely not from the lavatory. Lavatory waste is kept on board until removed by the honey cart. But all aircraft have drain masts. These are connected to the galley and lavatory sinks. What you saw was the cabin crew emtying the coffee pot down the sink before take off. A practice which us engineers frown on. We insist it goes down the lavatory, because coffee grounds clog drain lines