On winds and X-rays of O-type stars