The Labour Party government is planning to hand mayors new powers to introduce a nightly levy on staycations.