On a binary diophantine inequality involving prime powers