Socceroos defender Wright joins Sunderland