Texas hotel clerk armed with handgun stops rifle-carrying robber