Royal Bank of Canada has become caught up in efforts by Texas to limit action by banks against gun manufacturers and fossil fuel companies as attention…