Hybrid stabilization of planar linear systems with one-dimensional outputs