Performance of a complementary metal-oxide-semiconductor sensor for laser guide star wavefront sensing