GPU rendering via CLI not working in 2.81
Blender's command line interface executes the argument in the order they are given, as documented in the manual. Therefore your command renders the animation (-a, --render-anim) before executing the Python script (-P, --python). Hence the GPU is enabled after the rendering is already done. 

If you put the -a argument last, it should properly render the animation on the GPU.