Nonequilibrium steady state of Brownian motion in an intermittent potential