Lawyers with AI skills could earn up to 49% more, research by PwC has found.