Welsh government to regulate church activity