Olympic gold medalist spared jail over Extinction Rebellion protest as judge  commends his commitment to cause