You could connect a diode(example below) in series on your washer pump power supply line.
ie.rs-online.com
But as your BCM output is going to be activated( for the rear window) and diode won't allow (expected current to flow)
the BCM will register a fault in its memory.
To avoid that fault additional components are required.
Second diode in series with power resistor
connected in parallel to the power supply line before the first diode.
Also before any modifications, washer pump reverse current needs to be measured.
This current value will be required to calculate the resistance (Ω) of power resistor.
Judging by the size of the washer pump(as per below)
I would expect it to consume maximum of couple of amps(2A - 5A?) in either direction.
OEM MERCEDES BENZ W205 TAILGATE OPENING SWITCH BUTTON A2057270048 / A2059051713 | Vehicle Parts & Accessories, Car Parts & Accessories, Interior Parts & Accessories | eBay!
www.ebay.ie
Finally diode will have tiny voltage drop(1V) when front washers are used
and therefore washer pump will operate at only 90% of its original speed.
But I don't think that anybody could notice the difference.