Foldable wireless keyboard