Relativistic random-phase approximation in axial symmetry