N = 2 supergravity theory with a gauged central charge