A deep Chandra observation of the poor cluster AWM 4 – I. Properties of the central radio galaxy and its effects on the intracluster medium