The Museum is interesting, and 5 hours should be suitable. Just keep an eye on the time, since security is not always that fast at IAD. Your plan to keep your carry-on luggage is the best in my opinion. I would never leave bags in the RCC/IFL as you never know what could happen to it.