Water masers in the massive protostar IRAS 20126+4104: ejection and deceleration