Luxiq is just a mild steroid (betamethasone) in a very nice mousse base. There is minimal absorption through the skin, even it's raw. Not to worry. If the headaches persist, ask a doctor about them, but the Luxiq isn't the cause.
As to the rawness on your scalp, if that is from scratching, it's best to stop and the Luxiq will heal it up. If it doesn't, your dermatologist should have a look.
Take care.
Dr. Rockoff