The three-space problem for locally bounded F-spaces