It is impossible for a hopper to drop items into lava on its own. A dropper positioned over lava can be used to incinerate waste by feeding the hopper into it.