Not knowing the technics of the aircraft, sounds like a common valve that did not release hyd pressure. I am sure the aircraft has brake temp monitoring so I doubt 2 brakes had mechanically seized. Most aircraft shoot a burst of pressure on retraction to stop wheel movement before the gear is in the well, While it may be possible it is unlikely the aircraft departed in this condition.