Homogeneous geodesics in a three-dimensional Lie group