The gravitational potential of the bar in NGC 4314