You can set your profile private and then play in offline mode, which should prevent people from viewing your profile and seeing what your playtimes are. I'm not sure if playing in offline mode stops Valve from logging / viewing this data, however. I'd be surprised it it does.