There are lots of vegetarian options in Qatar as there are many people living here from the sub-continent who are vegetarians. You can get frozen food veggie options as well, at a price.

Don't know about lactose free items on restaurant menus at the 5* hotels but I'm sure you would be able to enquire beforehand and make up your mind whether to risk it.