I suppose the query is mainly for bathrooms. Its is a myth that wooden door frames gets decayed because of constant water spilling in the bathroom. To start with bathroom planning , specially shower placement should be such that no drop of water spills outside the shower area. Secondly it is perceived that granite or any stone does not require maintenance like paint, polish, etc. However, with proper workmanship wooden frames also lasts long... look at our old houses - wooden doors and windows are still working for decades together! Therefore my personal choice would always be wooden frames for bathrooms and kitchens.